package com.carcenter.pojo;

import java.sql.Timestamp;

/**
 * CarCarinfo entity. @author MyEclipse Persistence Tools
 */

public class CarCarinfo implements java.io.Serializable {

	// Fields

	private Integer cid;
	private String type;
	private String brand;
	private String pictureurl;
	private Float discount;
	private Float price;
	private String origin;
	private String oil;
	private String trye;
	private String engine;
	private Integer carage;
	private Integer mileage;
	private String isused;
	private String video;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public CarCarinfo() {
	}

	/** minimal constructor */
	public CarCarinfo(String type, String brand, String pictureurl,
			String isused, Timestamp createtime) {
		this.type = type;
		this.brand = brand;
		this.pictureurl = pictureurl;
		this.isused = isused;
		this.createtime = createtime;
	}

	/** full constructor */
	public CarCarinfo(String type, String brand, String pictureurl,
			Float discount, Float price, String origin, String oil,
			String trye, String engine, Integer carage, Integer mileage,
			String isused, String video, Timestamp createtime) {
		this.type = type;
		this.brand = brand;
		this.pictureurl = pictureurl;
		this.discount = discount;
		this.price = price;
		this.origin = origin;
		this.oil = oil;
		this.trye = trye;
		this.engine = engine;
		this.carage = carage;
		this.mileage = mileage;
		this.isused = isused;
		this.video = video;
		this.createtime = createtime;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getBrand() {
		return this.brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getPictureurl() {
		return this.pictureurl;
	}

	public void setPictureurl(String pictureurl) {
		this.pictureurl = pictureurl;
	}

	public Float getDiscount() {
		return this.discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getOrigin() {
		return this.origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getOil() {
		return this.oil;
	}

	public void setOil(String oil) {
		this.oil = oil;
	}

	public String getTrye() {
		return this.trye;
	}

	public void setTrye(String trye) {
		this.trye = trye;
	}

	public String getEngine() {
		return this.engine;
	}

	public void setEngine(String engine) {
		this.engine = engine;
	}

	public Integer getCarage() {
		return this.carage;
	}

	public void setCarage(Integer carage) {
		this.carage = carage;
	}

	public Integer getMileage() {
		return this.mileage;
	}

	public void setMileage(Integer mileage) {
		this.mileage = mileage;
	}

	public String getIsused() {
		return this.isused;
	}

	public void setIsused(String isused) {
		this.isused = isused;
	}

	public String getVideo() {
		return this.video;
	}

	public void setVideo(String video) {
		this.video = video;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}